//
//  UIView+Frame.m
//  BuDeJie
//
//  Created by TFAppleWork-Summer on 2018/3/20.
//  Copyright © 2018年 TFAppleWork-Summer. All rights reserved.
//

#import "UIView+Frame.h"

@implementation UIView (Frame)

-(void)setBdj_width:(CGFloat)bdj_width{
    CGRect rect = self.frame;;
    rect.size.width = bdj_width;
    self.frame =  rect;
}

- (void)setBdj_height:(CGFloat)bdj_height{
    CGRect rect = self.frame;;
    rect.size.height = bdj_height;
    self.frame =  rect;
}

-(void)setBdj_x:(CGFloat)bdj_x{
    CGRect rect = self.frame;;
    rect.origin.x = bdj_x;
    self.frame =  rect;
}

-(void)setBdj_y:(CGFloat)bdj_y{
    CGRect rect = self.frame;;
    rect.origin.y = bdj_y;
    self.frame =  rect;
}


@end
